package com.walle.concurrenttest.pattern.guardedsuspension;

/**
 * @author zhangjiapeng
 * @Package com.walle.concurrenttest.pattern.guardedsuspension
 * @Description: ${todo}
 * @date 2019/2/18 15:30
 */
public class RequestTest {

    public static void main(String[] args) {
        RequestQueue queue = new RequestQueue();
        Thread server = new Thread(new ServerThread(queue,1000));
        Thread client = new Thread(new ClientThread(queue,2000));

        server.start();
        client.start();
    }
}
